import allRoutes from "./allRoutes"
//动态路由
export default [
    //需要鉴权的页面
    {
        path: "/",
        redirect: "/welcome",
        component: () =>
            import ( /*webpackChunkName:'login'*/ "../pages/Home"),
        name: "home",
        // children: allRoutes
    }, {
        path: "*",
        component: () =>
            import ( /*webpackChunkName:'page404'*/ "../pages/Page404"),
        name: "page404"
    },
]